package com.alan.wifishare.view.iview;

import com.alan.libapi.model.business.UserSession;

/**
 * @className: IVUserRegister
 * @describtion: IVUserRegister
 * @author: AlanWang
 * @email: 850267876@qq.com
 * @time: 2016/4/20 16:42
 */
public interface IVUserRegister extends IVProgressView {

    /**
     * 从控件获取用户昵称
     * @return
     */
    String getUserNicName() ;

    /**
     * 从控件获取注册手机号
     * @return
     */
    String getUserPhone() ;

    /**
     * 获取验证码
     * @return
     */
    String getVerifyCode() ;

    /**
     * 获取用户注册密码的MD5值
     * @return
     */
    String getUserPwd() ;

    /**
     * 验证码发送成功
     */
    void sendVerifyCodeSuccess() ;

    /**
     * 注册成功
     */
    void registerSuccess(UserSession userSession) ;
}
